<%@page import="model.UserAccount"%>
<%@page import="web.Html"%>                           
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome</title>
<link type="text/css" rel="stylesheet" href="./css/style.css" />
</head>
<body>

<% UserAccount user = (UserAccount)session.getAttribute("user"); %>
Welcome back, <% out.print(Html.personLink(user.getEmployee().getPersonObject())); %>!<br />
You are logged in as user <% out.print(Html.userLink(user)); %>, employee at <% out.print(Html.enterpriseLink(user.getEmployee().getEnterpriseObject())); %>
<p><a href="./Log.txt">LOG</a></p>
<table>
	<tr><td><a href="./enterprise">Enterprises</a></td></tr>
	<tr><td><a href="./person">Persons</a></td></tr>
	<tr><td><a href="./user">Users</a></td></tr>
	<tr><td><a href="./search">Search</a></td></tr>					
</table>
<p><a href="./?logout=true">Log out</a></p>	

</body>
</html>